<?php
require_once('kernel.inc');

if($AUTH->logedstatus === true && $AUTH->permission == 'system')
{
   $SMARTY->assign('kernel', $MECCANO->kernel);
   $SMARTY->display('welcome.tpl.html');
} else
{
   $AUTH->frame_redirector();
}